home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / UTIL / MEMORY / VIRTUASRC / !Virtual / Makefile < prev    next >
Makefile  |  1993-09-07  |  732b  |  35 lines

  1. # Project name:   Virtual
  2. #
  3. # AMU Makefile for Virtual module
  4. # By BDB & Nick Smith, 1993
  5.  
  6. # Define DEBUG for debugging output: add -DDEBUG to CFLAGS
  7.  
  8. DEPEND = -depend !Depend
  9. CFLAGS = $(DEPEND) -throwback -ff -zps1
  10. ASMFLAGS = $(DEPEND) -throwback -stamp -quit
  11. LINKFLAGS = -map
  12.  
  13. all : Virtual
  14. it : Virtual
  15.  
  16. .SUFFIXES: .o .c .s
  17.  
  18. .c.o:;  cc $(CFLAGS) -s -o t.$* $<
  19.         sed -f sedregs < t.$* > u.$*
  20.         objasm $(ASMFLAGS) -from u.$* -to $@
  21. .s.o:;  objasm $(ASMFLAGS) -from $< -to $@
  22.  
  23. LIBS = 
  24. OBJS = virtual.o pager.o lib.o control.o output.o divide.o poll.o swiv.o
  25.  
  26. Virtual: $(OBJS)
  27.         link $(LINKFLAGS) -m $(OBJS) $(LIBS) -o $@
  28.  
  29. clean:
  30.       wipe o.* ~c~v
  31.       wipe t.* ~c~v
  32.       wipe u.* ~c~v
  33.  
  34. # Dynamic dependencies:
  35.